package aoptools;

/**
 * @description:
 * @author: 陈瑞东
 * @create: 2021-11-17 09:34
 */
public class AopTools {
    public @interface AopToolsAnno {}

    private long time;

    public void before() {
        System.out.println("================================= 开始 =================================");
        time = System.currentTimeMillis();
    }

    public void after(Object obj) {
        System.out.println("执行时间：" + (System.currentTimeMillis() - time) + "ms");
        System.out.println("================================= 结束 =================================");
    }
}
